defaults.js ➔ defaultParser   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
export function defaultParser(data) {
2
    return data;
3
}
4
5
export function defaultParserJSON(data) {
6
    return JSON.parse(data);
7
}
8
9
export const defaultMaxListeners = 30;
10